



<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label for="sell_user" class="layui-form-label">
               卖家用户
            </label>
            <div class="layui-input-block">
                <input type="text" id="sell_user"  name="sell_user" disabled
                       autocomplete="off"  value="{$info.member.username|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="buy_user" class="layui-form-label">
               买家用户
            </label>
            <div class="layui-input-block">
                <input type="text" id="buy_user" name="buy_user" disabled
                       autocomplete="off"  value="{$info.user.username|default=''}" class="layui-input">
            </div>

        </div>

        <div class="layui-form-item">
            <label for="wallet_name" class="layui-form-label">
               币种类型
            </label>
            <div class="layui-input-block">
                <input type="text" id="wallet_name" name="wallet_name" disabled
                       autocomplete="off"  value="{$info.wallet.name|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
               价格
            </label>
            <div class="layui-input-block">
                <input type="text" id="price" name="price" disabled
                       autocomplete="off"  value="{$info['price']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
                数量
            </label>
            <div class="layui-input-block">
                <input type="text" id="number" name="number" disabled
                       autocomplete="off"  value="{$info['number']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
               总价
            </label>
            <div class="layui-input-block">
                <input type="text" id="total_price" name="total_price" disabled
                       autocomplete="off"  value="{$info['total']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
               打款时间
            </label>
            <div class="layui-input-block">
                <input type="text" id="pay_time" name="pay_time" disabled
                       autocomplete="off"  value="{$info['pay_time']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
               打款超时时间
            </label>
            <div class="layui-input-block">
                <input type="text" id="pay_expire_time" name="pay_expire_time" disabled
                       autocomplete="off"  value="{$info['pay_expire_time']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
               收款时间
            </label>
            <div class="layui-input-block">
                <input type="text" id="receive_time" name="receive_time" disabled
                       autocomplete="off"  value="{$info['receive_time']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
               收款款超时时间
            </label>
            <div class="layui-input-block">
                <input type="text" id="receive_expire_time" name="receive_expire_time" disabled
                       autocomplete="off"  value="{$info['receive_expire_time']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
                状态
            </label>
            <div class="layui-input-block">
                <input type="text" id="state_name" name="state_name" disabled
                       autocomplete="off"  value="{$info['state_text']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
                处理结果
            </label>
            <div class="layui-input-block">
                <input type="text" id="feedback_type" name="feedback_type" disabled
                       autocomplete="off"  value="{$info['feedback_type']|default=''}" class="layui-input">
            </div>

        </div>
        <div class="layui-form-item">
            <label for="price" class="layui-form-label">
                付款图片
            </label>
            <div class="layui-input-block">
                <img src="{$info.image}" style="width:100px;margin-left:100px;">
            </div>

        </div>

        {if condition="$info['state'] eq 1 ||  $info['state'] eq 3"}

        <div class="layui-form-item">
            <label class="layui-form-label">处理方式</label>
            <div class="layui-input-block">
                <input type="radio" name="real" value="0" title="买家已打款" >
                <input type="radio" name="real" value="1" title="卖家已收款" >
                <input type="radio" name="real" value="2" title="买家未打款" >
                <input type="radio" name="real" value="3" title="卖家未收款" >
                <input type="radio" name="real" value="4" title="买家上传假的打款截图" >
                <input type="radio" name="real" value="5" title="结束订单(完成)">
            </div>
        </div>

        <!--<div class="layui-form-item">-->
            <!--<label class="layui-form-label">惩罚机制</label>-->
            <!--<div class="layui-input-block">-->
                <!--<input type="radio" name="punish" value="0" title="扣除卖家惩罚金" >-->
                <!--<input type="radio" name="punish" value="1" title="扣除买家惩罚金" >-->
                <!--<input type="radio" name="punish" value="2" title="不扣除惩罚金" >-->
            <!--</div>-->
        <!--</div>-->

        <div class="layui-form-item">
            <label class="layui-form-label">冻结机制</label>
            <div class="layui-input-block">
                <input type="radio" name="freeze" value="0" title="冻结卖家账号" >
                <input type="radio" name="freeze" value="1" title="冻结买家账号" >
                <input type="radio" name="freeze" value="2" title="不冻结账号" >
            </div>
        </div>
        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>



            <button type="submit"  class="layui-btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
                确 定
            </button>
            <a class="layui-btn ladda-button" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>

        </div>
        {else/}
        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>


            <a class="layui-btn ladda-button" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>

        </div>
        {/if}




    </form>
</div>


